//
//  AddressManageTableViewCell.h
//  B2C
//
//  Created by 李小龙 on 2017/8/4.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import <UIKit/UIKit.h>

#define ButtonBaseTagDefault    1000
#define ButtonBaseTagEdit       10000
#define ButtonBaseTagDelete     100000

typedef NS_ENUM(NSUInteger, AddressClickType) {
    AddressClickTypeDefault,
    AddressClickTypeEdit,
    AddressClickTypeDelete,
};
typedef void(^AddressButtonClick)(NSInteger tag,AddressClickType type);

@interface AddressManageTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *phoneLabel;
@property (weak, nonatomic) IBOutlet UILabel *addressLabel;
@property (weak, nonatomic) IBOutlet UIButton *defaultButton;
@property (weak, nonatomic) IBOutlet UIButton *editButton;
@property (weak, nonatomic) IBOutlet UIButton *deleteButton;

@property (nonatomic, copy) AddressButtonClick block;

@end
